package com.bdqn.tour.service.impl;


import com.bdqn.tour.dao.HzyInfoDao;
import com.bdqn.tour.dao.impl.HzyInfoDaoImpl;
import com.bdqn.tour.pojo.User;
import com.bdqn.tour.service.HzyInfoService;

import java.util.List;

public class HzyInfoServiceImpl implements HzyInfoService {
    HzyInfoDao info = new HzyInfoDaoImpl();
    @Override
    public List<User> getUserInfo(String phone) {
        return info.getUserInfo(phone);
    }

    @Override
    public boolean updateUserInfo(User user) {
        return info.updateUserInfo(user);
    }
}
